From 38bd4439e8b01e1c77e54a70fa95eae73d9bdd81 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 3 Oct 2020 11:36:14 -0400 Subject: [PATCH] directorylist: Drop the item-type property No need for this to be a property. This showed up in a test for missing accessors. --- gtk/gtkdirectorylist.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gtk/gtkdirectorylist.c b/gtk/gtkdirectorylist.c index d65c0e9229..fc50d72a94 100644 --- a/gtk/gtkdirectorylist.c +++ b/gtk/gtkdirectorylist.c @@ -61,7 +61,6 @@ enum { PROP_ERROR, PROP_FILE, PROP_IO_PRIORITY, - PROP_ITEM_TYPE, PROP_LOADING, PROP_MONITORED, NUM_PROPERTIES @@ -187,10 +186,6 @@ gtk_directory_list_get_property (GObject *object, g_value_set_int (value, self->io_priority); break; - case PROP_ITEM_TYPE: - g_value_set_gtype (value, G_TYPE_FILE_INFO); - break; - case PROP_LOADING: g_value_set_boolean (value, gtk_directory_list_is_loading (self)); break; @@ -304,18 +299,6 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class) -G_MAXINT, G_MAXINT, G_PRIORITY_DEFAULT, GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); - /** - * GtkDirectoryList:item-type: - * - * The #GType for elements of this object - */ - properties[PROP_ITEM_TYPE] = - g_param_spec_gtype ("item-type", - P_("Item type"), - P_("The type of elements of this object"), - G_TYPE_FILE_INFO, - GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY); - /** * GtkDirectoryList:loading: * -- 2.30.2